Keyboard shortcuts

Press ← or β†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

MkDependencyTable

github Show source on GitHub

Node for a table showing dependencies for a package.

Examples

Example: From Project

Note

Jinja

{{ mk.MkDependencyTable() }}

Note

Python

MkDependencyTable()
Rendered
NameSummaryMarker
anybadgeSimple, flexible badge generator for project badges.
anyenvCompatibility layer for some basic operations to allow painless operation in PyOdide and Python pre-releases
anyioHigh-level concurrency and networking framework on top of asyncio or Trio
clinspectorIntrospect Python CLI apps (Typer, Click, Cleo, Cappa, Cyclopts, argparse) into structured data.
coloraideA color library for Python.
epregistryCached, generically typed registries for Python entry points, plus package/distribution name mapping
fieldzUtilities for providing compatibility with many dataclass-like libraries
fsspecFile-system specification
git-changelogAutomatic Changelog generator using Jinja2 templates.
githarborUnified Python client for GitHub, GitLab, Gitea, Azure DevOps and local Git repositories
GitPythonGitPython is a Python library used to interact with Git repositories
griffelibSignatures for entire Python programs. Extract the structure, the frame, the skeleton of your project, to generate API documentation or find breaking changes in your API.
Jinja2A very fast and expressive template engine.
jinjaropeJinja2 toolkit: enhanced Environment, extra filters / tests, fsspec-based loaders and TOML JinjaFiles.
logfire-sdkThe best Python observability tool! πŸͺ΅πŸ”₯
MarkdownPython implementation of John Gruber’s Markdown.
MarkupSafeSafely add untrusted strings to HTML/XML markup.
natsortSimple yet flexible natural sorting in Python.
packagingCore utilities for Python packages
pipdeptreeCommand line utility to show dependency tree of packages.
platformdirsA small Python package for determining appropriate platform-specific dirs, e.g. a user data dir.
pydanticData validation using Python type hints
pymdown-extensionsExtension pack for Python Markdown.
pytest-asyncioPytest support for asyncio
python-dotenvRead key-value pairs from a .env file and set them as environment variables
PyYAMLYAML parser and emitter for Python
requestsPython HTTP for Humans.
richRender rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal
tomli_wA lil’ TOML writer
typerTyper, build great CLIs. Easy to code. Based on Python type hints.
universal_pathlibpathlib api extended to use fsspec backends
upathtoolsAsync helpers, typed base classes and many filesystem implementations for fsspec and universal-pathlib
yamlingEnhanced YAML loading and dumping.
zensicalA modern static site generator built by the creators of Material for MkDocs
markdown-it-pyPython port of markdown-it. Markdown parsing, done right!extra == "html"
mdit-py-pluginsCollection of plugins for markdown-it-pyextra == "html"
mkconvertOne API for Python and Rust Markdown parsers with common options, plus HTML-to-Markdown conversionextra == "html"
agentpoolPydantic-AI based Multi-Agent Framework with YAML-based Agents, Teams, Workflows & Extended ACP / AGUI integrationextra == "llm"
mkdocsProject documentation with Markdown.extra == "mkdocs"
mkdocs-materialDocumentation that simply worksextra == "mkdocs"
**<font size='3'>furo</font>**A clean customisable Sphinx documentation theme.extra == "sphinx"
myst-parserAn extended CommonMark compliant parser,extra == "sphinx"
SphinxPython documentation generatorextra == "sphinx"
sphinx_designA sphinx extension for designing beautiful, view size responsive web components.extra == "sphinx"
Markdown
| Name | Summary | Marker |
|--- | --- | --- |
| **<font size='3'>[anybadge](https://github.com/jongracecox/anybadge)</font>** | *Simple, flexible badge generator for project badges.* |  |
| **<font size='3'>[anyenv](https://phil65.github.io/anyenv/)</font>** | *Compatibility layer for some basic operations to allow painless operation in PyOdide and Python pre-releases* |  |
| **<font size='3'>[anyio](https://anyio.readthedocs.io/en/latest/)</font>** | *High-level concurrency and networking framework on top of asyncio or Trio* |  |
| **<font size='3'>[clinspector](https://phil65.github.io/clinspector/)</font>** | *Introspect Python CLI apps (Typer, Click, Cleo, Cappa, Cyclopts, argparse) into structured data.* |  |
| **<font size='3'>[coloraide](https://github.com/facelessuser/coloraide)</font>** | *A color library for Python.* |  |
| **<font size='3'>[epregistry](https://github.com/phil65/epregistry)</font>** | *Cached, generically typed registries for Python entry points, plus package/distribution name mapping* |  |
| **<font size='3'>[fieldz](https://github.com/pyapp-kit/fieldz)</font>** | *Utilities for providing compatibility with many dataclass-like libraries* |  |
| **<font size='3'>[fsspec](https://github.com/fsspec/filesystem_spec)</font>** | *File-system specification* |  |
| **<font size='3'>[git-changelog](https://pawamoy.github.io/git-changelog)</font>** | *Automatic Changelog generator using Jinja2 templates.* |  |
| **<font size='3'>[githarbor](https://github.com/phil65/githarbor)</font>** | *Unified Python client for GitHub, GitLab, Gitea, Azure DevOps and local Git repositories* |  |
| **<font size='3'>[GitPython](https://gitpython.readthedocs.io/en/stable/)</font>** | *GitPython is a Python library used to interact with Git repositories* |  |
| **<font size='3'>[griffelib](https://mkdocstrings.github.io/griffe)</font>** | *Signatures for entire Python programs. Extract the structure, the frame, the skeleton of your project, to generate API documentation or find breaking changes in your API.* |  |
| **<font size='3'>[Jinja2](https://jinja.palletsprojects.com/)</font>** | *A very fast and expressive template engine.* |  |
| **<font size='3'>[jinjarope](https://phil65.github.io/jinjarope/)</font>** | *Jinja2 toolkit: enhanced Environment, extra filters / tests, fsspec-based loaders and TOML JinjaFiles.* |  |
| **<font size='3'>[logfire-sdk](https://pydantic.dev/logfire)</font>** | *The best Python observability tool! πŸͺ΅πŸ”₯* |  |
| **<font size='3'>[Markdown](https://Python-Markdown.github.io/)</font>** | *Python implementation of John Gruber's Markdown.* |  |
| **<font size='3'>[MarkupSafe](https://markupsafe.palletsprojects.com/)</font>** | *Safely add untrusted strings to HTML/XML markup.* |  |
| **<font size='3'>[natsort](https://github.com/SethMMorton/natsort)</font>** | *Simple yet flexible natural sorting in Python.* |  |
| **<font size='3'>[packaging](https://packaging.pypa.io/)</font>** | *Core utilities for Python packages* |  |
| **<font size='3'>[pipdeptree](https://github.com/tox-dev/pipdeptree)</font>** | *Command line utility to show dependency tree of packages.* |  |
| **<font size='3'>[platformdirs](https://github.com/tox-dev/platformdirs)</font>** | *A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`.* |  |
| **<font size='3'>[pydantic](https://github.com/pydantic/pydantic)</font>** | *Data validation using Python type hints* |  |
| **<font size='3'>[pymdown-extensions](https://github.com/facelessuser/pymdown-extensions)</font>** | *Extension pack for Python Markdown.* |  |
| **<font size='3'>[pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio)</font>** | *Pytest support for asyncio* |  |
| **<font size='3'>[python-dotenv](https://github.com/theskumar/python-dotenv)</font>** | *Read key-value pairs from a .env file and set them as environment variables* |  |
| **<font size='3'>[PyYAML](https://pyyaml.org/)</font>** | *YAML parser and emitter for Python* |  |
| **<font size='3'>[requests](https://requests.readthedocs.io)</font>** | *Python HTTP for Humans.* |  |
| **<font size='3'>[rich](https://github.com/Textualize/rich)</font>** | *Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal* |  |
| **<font size='3'>[tomli_w](https://github.com/hukkin/tomli-w)</font>** | *A lil' TOML writer* |  |
| **<font size='3'>[typer](https://github.com/fastapi/typer)</font>** | *Typer, build great CLIs. Easy to code. Based on Python type hints.* |  |
| **<font size='3'>[universal_pathlib](https://github.com/fsspec/universal_pathlib)</font>** | *pathlib api extended to use fsspec backends* |  |
| **<font size='3'>[upathtools](https://phil65.github.io/upathtools/)</font>** | *Async helpers, typed base classes and many filesystem implementations for fsspec and universal-pathlib* |  |
| **<font size='3'>[yamling](https://phil65.github.io/yamling/)</font>** | *Enhanced YAML loading and dumping.* |  |
| **<font size='3'>[zensical](https://zensical.org/)</font>** | *A modern static site generator built by the creators of Material for MkDocs* |  |
| **<font size='3'>[markdown-it-py](https://github.com/executablebooks/markdown-it-py)</font>** | *Python port of markdown-it. Markdown parsing, done right!* | `extra == "html"` |
| **<font size='3'>[mdit-py-plugins](https://github.com/executablebooks/mdit-py-plugins)</font>** | *Collection of plugins for markdown-it-py* | `extra == "html"` |
| **<font size='3'>[mkconvert](https://phil65.github.io/mkconvert/)</font>** | *One API for Python and Rust Markdown parsers with common options, plus HTML-to-Markdown conversion* | `extra == "html"` |
| **<font size='3'>[agentpool](https://phil65.github.io/agentpool/)</font>** | *Pydantic-AI based Multi-Agent Framework with YAML-based Agents, Teams, Workflows & Extended ACP / AGUI integration* | `extra == "llm"` |
| **<font size='3'>[mkdocs](https://www.mkdocs.org/)</font>** | *Project documentation with Markdown.* | `extra == "mkdocs"` |
| **<font size='3'>[mkdocs-material](https://squidfunk.github.io/mkdocs-material/)</font>** | *Documentation that simply works* | `extra == "mkdocs"` |
| `**<font size='3'>furo</font>**` | *A clean customisable Sphinx documentation theme.* | `extra == "sphinx"` |
| **<font size='3'>[myst-parser](https://github.com/executablebooks/MyST-Parser)</font>** | *An extended [CommonMark](https://spec.commonmark.org/) compliant parser,* | `extra == "sphinx"` |
| **<font size='3'>[Sphinx](https://www.sphinx-doc.org/)</font>** | *Python documentation generator* | `extra == "sphinx"` |
| **<font size='3'>[sphinx_design](https://github.com/executablebooks/sphinx-design)</font>** | *A sphinx extension for designing beautiful, view size responsive web components.* | `extra == "sphinx"` |

Html
<table>
<thead>
<tr>
<th>Name</th>
<th>Summary</th>
<th>Marker</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong><font size='3'><a href="https://github.com/jongracecox/anybadge">anybadge</a></font></strong></td>
<td><em>Simple, flexible badge generator for project badges.</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://phil65.github.io/anyenv/">anyenv</a></font></strong></td>
<td><em>Compatibility layer for some basic operations to allow painless operation in PyOdide and Python pre-releases</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://anyio.readthedocs.io/en/latest/">anyio</a></font></strong></td>
<td><em>High-level concurrency and networking framework on top of asyncio or Trio</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://phil65.github.io/clinspector/">clinspector</a></font></strong></td>
<td><em>Introspect Python CLI apps (Typer, Click, Cleo, Cappa, Cyclopts, argparse) into structured data.</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/facelessuser/coloraide">coloraide</a></font></strong></td>
<td><em>A color library for Python.</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/phil65/epregistry">epregistry</a></font></strong></td>
<td><em>Cached, generically typed registries for Python entry points, plus package/distribution name mapping</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/pyapp-kit/fieldz">fieldz</a></font></strong></td>
<td><em>Utilities for providing compatibility with many dataclass-like libraries</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/fsspec/filesystem_spec">fsspec</a></font></strong></td>
<td><em>File-system specification</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://pawamoy.github.io/git-changelog">git-changelog</a></font></strong></td>
<td><em>Automatic Changelog generator using Jinja2 templates.</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/phil65/githarbor">githarbor</a></font></strong></td>
<td><em>Unified Python client for GitHub, GitLab, Gitea, Azure DevOps and local Git repositories</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://gitpython.readthedocs.io/en/stable/">GitPython</a></font></strong></td>
<td><em>GitPython is a Python library used to interact with Git repositories</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://mkdocstrings.github.io/griffe">griffelib</a></font></strong></td>
<td><em>Signatures for entire Python programs. Extract the structure, the frame, the skeleton of your project, to generate API documentation or find breaking changes in your API.</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://jinja.palletsprojects.com/">Jinja2</a></font></strong></td>
<td><em>A very fast and expressive template engine.</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://phil65.github.io/jinjarope/">jinjarope</a></font></strong></td>
<td><em>Jinja2 toolkit: enhanced Environment, extra filters / tests, fsspec-based loaders and TOML JinjaFiles.</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://pydantic.dev/logfire">logfire-sdk</a></font></strong></td>
<td><em>The best Python observability tool! πŸͺ΅πŸ”₯</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://Python-Markdown.github.io/">Markdown</a></font></strong></td>
<td><em>Python implementation of John Gruber's Markdown.</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://markupsafe.palletsprojects.com/">MarkupSafe</a></font></strong></td>
<td><em>Safely add untrusted strings to HTML/XML markup.</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/SethMMorton/natsort">natsort</a></font></strong></td>
<td><em>Simple yet flexible natural sorting in Python.</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://packaging.pypa.io/">packaging</a></font></strong></td>
<td><em>Core utilities for Python packages</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/tox-dev/pipdeptree">pipdeptree</a></font></strong></td>
<td><em>Command line utility to show dependency tree of packages.</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/tox-dev/platformdirs">platformdirs</a></font></strong></td>
<td><em>A small Python package for determining appropriate platform-specific dirs, e.g. a <code>user data dir</code>.</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/pydantic/pydantic">pydantic</a></font></strong></td>
<td><em>Data validation using Python type hints</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/facelessuser/pymdown-extensions">pymdown-extensions</a></font></strong></td>
<td><em>Extension pack for Python Markdown.</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/pytest-dev/pytest-asyncio">pytest-asyncio</a></font></strong></td>
<td><em>Pytest support for asyncio</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/theskumar/python-dotenv">python-dotenv</a></font></strong></td>
<td><em>Read key-value pairs from a .env file and set them as environment variables</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://pyyaml.org/">PyYAML</a></font></strong></td>
<td><em>YAML parser and emitter for Python</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://requests.readthedocs.io">requests</a></font></strong></td>
<td><em>Python HTTP for Humans.</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/Textualize/rich">rich</a></font></strong></td>
<td><em>Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/hukkin/tomli-w">tomli_w</a></font></strong></td>
<td><em>A lil' TOML writer</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/fastapi/typer">typer</a></font></strong></td>
<td><em>Typer, build great CLIs. Easy to code. Based on Python type hints.</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/fsspec/universal_pathlib">universal_pathlib</a></font></strong></td>
<td><em>pathlib api extended to use fsspec backends</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://phil65.github.io/upathtools/">upathtools</a></font></strong></td>
<td><em>Async helpers, typed base classes and many filesystem implementations for fsspec and universal-pathlib</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://phil65.github.io/yamling/">yamling</a></font></strong></td>
<td><em>Enhanced YAML loading and dumping.</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://zensical.org/">zensical</a></font></strong></td>
<td><em>A modern static site generator built by the creators of Material for MkDocs</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/executablebooks/markdown-it-py">markdown-it-py</a></font></strong></td>
<td><em>Python port of markdown-it. Markdown parsing, done right!</em></td>
<td><code>extra == &quot;html&quot;</code></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/executablebooks/mdit-py-plugins">mdit-py-plugins</a></font></strong></td>
<td><em>Collection of plugins for markdown-it-py</em></td>
<td><code>extra == &quot;html&quot;</code></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://phil65.github.io/mkconvert/">mkconvert</a></font></strong></td>
<td><em>One API for Python and Rust Markdown parsers with common options, plus HTML-to-Markdown conversion</em></td>
<td><code>extra == &quot;html&quot;</code></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://phil65.github.io/agentpool/">agentpool</a></font></strong></td>
<td><em>Pydantic-AI based Multi-Agent Framework with YAML-based Agents, Teams, Workflows &amp; Extended ACP / AGUI integration</em></td>
<td><code>extra == &quot;llm&quot;</code></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://www.mkdocs.org/">mkdocs</a></font></strong></td>
<td><em>Project documentation with Markdown.</em></td>
<td><code>extra == &quot;mkdocs&quot;</code></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://squidfunk.github.io/mkdocs-material/">mkdocs-material</a></font></strong></td>
<td><em>Documentation that simply works</em></td>
<td><code>extra == &quot;mkdocs&quot;</code></td>
</tr>
<tr>
<td><code>**&lt;font size='3'&gt;furo&lt;/font&gt;**</code></td>
<td><em>A clean customisable Sphinx documentation theme.</em></td>
<td><code>extra == &quot;sphinx&quot;</code></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/executablebooks/MyST-Parser">myst-parser</a></font></strong></td>
<td><em>An extended <a href="https://spec.commonmark.org/">CommonMark</a> compliant parser,</em></td>
<td><code>extra == &quot;sphinx&quot;</code></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://www.sphinx-doc.org/">Sphinx</a></font></strong></td>
<td><em>Python documentation generator</em></td>
<td><code>extra == &quot;sphinx&quot;</code></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/executablebooks/sphinx-design">sphinx_design</a></font></strong></td>
<td><em>A sphinx extension for designing beautiful, view size responsive web components.</em></td>
<td><code>extra == &quot;sphinx&quot;</code></td>
</tr>
</tbody>
</table>

Repr tree
MkDependencyTable
β”œβ”€β”€ MkLink('https://github.com/jongracecox/anybadge', 'anybadge')
β”œβ”€β”€ MkLink('https://phil65.github.io/anyenv/', 'anyenv')
β”œβ”€β”€ MkLink('https://anyio.readthedocs.io/en/latest/', 'anyio')
β”œβ”€β”€ MkLink('https://phil65.github.io/clinspector/', 'clinspector')
β”œβ”€β”€ MkLink('https://github.com/facelessuser/coloraide', 'coloraide')
β”œβ”€β”€ MkLink('https://github.com/phil65/epregistry', 'epregistry')
β”œβ”€β”€ MkLink('https://github.com/pyapp-kit/fieldz', 'fieldz')
β”œβ”€β”€ MkLink('https://github.com/fsspec/filesystem_spec', 'fsspec')
β”œβ”€β”€ MkLink('https://pawamoy.github.io/git-changelog', 'git-changelog')
β”œβ”€β”€ MkLink('https://github.com/phil65/githarbor', 'githarbor')
β”œβ”€β”€ MkLink('https://gitpython.readthedocs.io/en/stable/', 'GitPython')
β”œβ”€β”€ MkLink('https://mkdocstrings.github.io/griffe', 'griffelib')
β”œβ”€β”€ MkLink('https://jinja.palletsprojects.com/', 'Jinja2')
β”œβ”€β”€ MkLink('https://phil65.github.io/jinjarope/', 'jinjarope')
β”œβ”€β”€ MkLink('https://pydantic.dev/logfire', 'logfire-sdk')
β”œβ”€β”€ MkLink('https://Python-Markdown.github.io/', 'Markdown')
β”œβ”€β”€ MkLink('https://markupsafe.palletsprojects.com/', 'MarkupSafe')
β”œβ”€β”€ MkLink('https://github.com/SethMMorton/natsort', 'natsort')
β”œβ”€β”€ MkLink('https://packaging.pypa.io/', 'packaging')
β”œβ”€β”€ MkLink('https://github.com/tox-dev/pipdeptree', 'pipdeptree')
β”œβ”€β”€ MkLink('https://github.com/tox-dev/platformdirs', 'platformdirs')
β”œβ”€β”€ MkLink('https://github.com/pydantic/pydantic', 'pydantic')
β”œβ”€β”€ MkLink('https://github.com/facelessuser/pymdown-extensions', 'pymdown-extensions')
β”œβ”€β”€ MkLink('https://github.com/pytest-dev/pytest-asyncio', 'pytest-asyncio')
β”œβ”€β”€ MkLink('https://github.com/theskumar/python-dotenv', 'python-dotenv')
β”œβ”€β”€ MkLink('https://pyyaml.org/', 'PyYAML')
β”œβ”€β”€ MkLink('https://requests.readthedocs.io', 'requests')
β”œβ”€β”€ MkLink('https://github.com/Textualize/rich', 'rich')
β”œβ”€β”€ MkLink('https://github.com/hukkin/tomli-w', 'tomli_w')
β”œβ”€β”€ MkLink('https://github.com/fastapi/typer', 'typer')
β”œβ”€β”€ MkLink('https://github.com/fsspec/universal_pathlib', 'universal_pathlib')
β”œβ”€β”€ MkLink('https://phil65.github.io/upathtools/', 'upathtools')
β”œβ”€β”€ MkLink('https://phil65.github.io/yamling/', 'yamling')
β”œβ”€β”€ MkLink('https://zensical.org/', 'zensical')
β”œβ”€β”€ MkLink('https://github.com/executablebooks/markdown-it-py', 'markdown-it-py')
β”œβ”€β”€ MkLink('https://github.com/executablebooks/mdit-py-plugins', 'mdit-py-plugins')
β”œβ”€β”€ MkLink('https://phil65.github.io/mkconvert/', 'mkconvert')
β”œβ”€β”€ MkLink('https://phil65.github.io/agentpool/', 'agentpool')
β”œβ”€β”€ MkLink('https://www.mkdocs.org/', 'mkdocs')
β”œβ”€β”€ MkLink('https://squidfunk.github.io/mkdocs-material/', 'mkdocs-material')
β”œβ”€β”€ MkLink('https://github.com/executablebooks/MyST-Parser', 'myst-parser')
β”œβ”€β”€ MkLink('https://www.sphinx-doc.org/', 'Sphinx')
╰── MkLink('https://github.com/executablebooks/sphinx-design', 'sphinx_design')

Example: Explicit package

Note

Jinja

{{ "jinja2" | MkDependencyTable }}

Note

Python

MkDependencyTable('jinja2')
Rendered
NameSummaryMarker
MarkupSafeSafely add untrusted strings to HTML/XML markup.
babelInternationalization utilitiesextra == "i18n"
Markdown
| Name | Summary | Marker |
|--- | --- | --- |
| **<font size='3'>[MarkupSafe](https://markupsafe.palletsprojects.com/)</font>** | *Safely add untrusted strings to HTML/XML markup.* |  |
| **<font size='3'>[babel](https://babel.pocoo.org/)</font>** | *Internationalization utilities* | `extra == "i18n"` |

Html
<table>
<thead>
<tr>
<th>Name</th>
<th>Summary</th>
<th>Marker</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong><font size='3'><a href="https://markupsafe.palletsprojects.com/">MarkupSafe</a></font></strong></td>
<td><em>Safely add untrusted strings to HTML/XML markup.</em></td>
<td></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://babel.pocoo.org/">babel</a></font></strong></td>
<td><em>Internationalization utilities</em></td>
<td><code>extra == &quot;i18n&quot;</code></td>
</tr>
</tbody>
</table>

Repr tree
MkDependencyTable
β”œβ”€β”€ MkLink('https://markupsafe.palletsprojects.com/', 'MarkupSafe')
╰── MkLink('https://babel.pocoo.org/', 'babel')

Example: Badge style

Note

Jinja

{{ "mkdocs" | MkDependencyTable(layout="badge") }}

Note

Python

MkDependencyTable('mkdocs', layout='badge')
Rendered
NameSummary
click
Composable command line interface toolkit
Changes: click.palletsprojects.com Chat: discord.gg Documentation: click.palletsprojects.com Donate: palletsprojects.com Source: github.com
colorama
platform_system == "Windows"
Cross-platform colored terminal text.
Homepage: github.com
ghp-import
Copy your docs directly to the gh-pages branch.
home_page: github.com
Jinja2
A very fast and expressive template engine.
Changes: jinja.palletsprojects.com Chat: discord.gg Documentation: jinja.palletsprojects.com Donate: palletsprojects.com Source: github.com
Markdown
Python implementation of John Gruber’s Markdown.
Homepage: Python-Markdown.github.io Documentation: Python-Markdown.github.io Repository: github.com Issue Tracker: github.com Changelog: python-markdown.github.io
MarkupSafe
Safely add untrusted strings to HTML/XML markup.
Donate: palletsprojects.com Documentation: markupsafe.palletsprojects.com Changes: markupsafe.palletsprojects.com Source: github.com Chat: discord.gg
mergedeep
A deep merge function for 🐍.
home_page: github.com
mkdocs-get-deps
An extra command for MkDocs that infers required PyPI packages from plugins in mkdocs.yml
Source: github.com Issues: github.com History: github.com
packaging
Core utilities for Python packages
Documentation: packaging.pypa.io Source: github.com
pathspec
Utility library for gitignore style pattern matching of file paths.
Change Log: python-path-specification.readthedocs.io Documentation: python-path-specification.readthedocs.io Issue Tracker: github.com Source Code: github.com
pyyaml_env_tag
A custom YAML tag for referencing environment variables in YAML files.
Homepage: github.com Repository: github.com Bug Tracker: github.com
PyYAML
YAML parser and emitter for Python
Bug Tracker: github.com CI: github.com Documentation: pyyaml.org Mailing lists: lists.sourceforge.net Source Code: github.com home_page: pyyaml.org
watchdog
Filesystem events monitoring
Documentation: python-watchdog.readthedocs.io Source: github.com Issues: github.com Changelog: github.com home_page: github.com
babel
extra == "i18n"
Internationalization utilities
Homepage: babel.pocoo.org Source: github.com
Markdown
| Name | Summary |
|--- | --- |
| **<font size='3'>[click](https://click.palletsprojects.com/)</font>**<br> | *Composable command line interface toolkit*<br>[![Changes: click.palletsprojects.com](https://img.shields.io/badge/Changes-click.palletsprojects.com-4051b5)](https://click.palletsprojects.com/page/changes/) [![Chat: discord.gg](https://img.shields.io/badge/Chat-discord.gg-4051b5)](https://discord.gg/pallets) [![Documentation: click.palletsprojects.com](https://img.shields.io/badge/Documentation-click.palletsprojects.com-4051b5)](https://click.palletsprojects.com/) [![Donate: palletsprojects.com](https://img.shields.io/badge/Donate-palletsprojects.com-4051b5)](https://palletsprojects.com/donate) [![Source: github.com](https://img.shields.io/badge/Source-github.com-4051b5)](https://github.com/pallets/click/) |
| **<font size='3'>[colorama](https://github.com/tartley/colorama)</font>**<br>`platform_system == "Windows"` | *Cross-platform colored terminal text.*<br>[![Homepage: github.com](https://img.shields.io/badge/Homepage-github.com-4051b5)](https://github.com/tartley/colorama) |
| **<font size='3'>[ghp-import](https://github.com/c-w/ghp-import)</font>**<br> | *Copy your docs directly to the gh-pages branch.*<br>[![home_page: github.com](https://img.shields.io/badge/home__page-github.com-4051b5)](https://github.com/c-w/ghp-import) |
| **<font size='3'>[Jinja2](https://jinja.palletsprojects.com/)</font>**<br> | *A very fast and expressive template engine.*<br>[![Changes: jinja.palletsprojects.com](https://img.shields.io/badge/Changes-jinja.palletsprojects.com-4051b5)](https://jinja.palletsprojects.com/changes/) [![Chat: discord.gg](https://img.shields.io/badge/Chat-discord.gg-4051b5)](https://discord.gg/pallets) [![Documentation: jinja.palletsprojects.com](https://img.shields.io/badge/Documentation-jinja.palletsprojects.com-4051b5)](https://jinja.palletsprojects.com/) [![Donate: palletsprojects.com](https://img.shields.io/badge/Donate-palletsprojects.com-4051b5)](https://palletsprojects.com/donate) [![Source: github.com](https://img.shields.io/badge/Source-github.com-4051b5)](https://github.com/pallets/jinja/) |
| **<font size='3'>[Markdown](https://Python-Markdown.github.io/)</font>**<br> | *Python implementation of John Gruber's Markdown.*<br>[![Homepage: Python-Markdown.github.io](https://img.shields.io/badge/Homepage-Python--Markdown.github.io-4051b5)](https://Python-Markdown.github.io/) [![Documentation: Python-Markdown.github.io](https://img.shields.io/badge/Documentation-Python--Markdown.github.io-4051b5)](https://Python-Markdown.github.io/) [![Repository: github.com](https://img.shields.io/badge/Repository-github.com-4051b5)](https://github.com/Python-Markdown/markdown) [![Issue Tracker: github.com](https://img.shields.io/badge/Issue%20Tracker-github.com-4051b5)](https://github.com/Python-Markdown/markdown/issues) [![Changelog: python-markdown.github.io](https://img.shields.io/badge/Changelog-python--markdown.github.io-4051b5)](https://python-markdown.github.io/changelog/) |
| **<font size='3'>[MarkupSafe](https://markupsafe.palletsprojects.com/)</font>**<br> | *Safely add untrusted strings to HTML/XML markup.*<br>[![Donate: palletsprojects.com](https://img.shields.io/badge/Donate-palletsprojects.com-4051b5)](https://palletsprojects.com/donate) [![Documentation: markupsafe.palletsprojects.com](https://img.shields.io/badge/Documentation-markupsafe.palletsprojects.com-4051b5)](https://markupsafe.palletsprojects.com/) [![Changes: markupsafe.palletsprojects.com](https://img.shields.io/badge/Changes-markupsafe.palletsprojects.com-4051b5)](https://markupsafe.palletsprojects.com/page/changes/) [![Source: github.com](https://img.shields.io/badge/Source-github.com-4051b5)](https://github.com/pallets/markupsafe/) [![Chat: discord.gg](https://img.shields.io/badge/Chat-discord.gg-4051b5)](https://discord.gg/pallets) |
| **<font size='3'>[mergedeep](https://github.com/clarketm/mergedeep)</font>**<br> | *A deep merge function for 🐍.*<br>[![home_page: github.com](https://img.shields.io/badge/home__page-github.com-4051b5)](https://github.com/clarketm/mergedeep) |
| **<font size='3'>[mkdocs-get-deps](https://github.com/mkdocs/get-deps)</font>**<br> | *An extra command for MkDocs that infers required PyPI packages from `plugins` in mkdocs.yml*<br>[![Source: github.com](https://img.shields.io/badge/Source-github.com-4051b5)](https://github.com/mkdocs/get-deps) [![Issues: github.com](https://img.shields.io/badge/Issues-github.com-4051b5)](https://github.com/mkdocs/get-deps/issues) [![History: github.com](https://img.shields.io/badge/History-github.com-4051b5)](https://github.com/mkdocs/get-deps/releases) |
| **<font size='3'>[packaging](https://packaging.pypa.io/)</font>**<br> | *Core utilities for Python packages*<br>[![Documentation: packaging.pypa.io](https://img.shields.io/badge/Documentation-packaging.pypa.io-4051b5)](https://packaging.pypa.io/) [![Source: github.com](https://img.shields.io/badge/Source-github.com-4051b5)](https://github.com/pypa/packaging) |
| **<font size='3'>[pathspec](https://python-path-specification.readthedocs.io/en/latest/index.html)</font>**<br> | *Utility library for gitignore style pattern matching of file paths.*<br>[![Change Log: python-path-specification.readthedocs.io](https://img.shields.io/badge/Change%20Log-python--path--specification.readthedocs.io-4051b5)](https://python-path-specification.readthedocs.io/en/latest/changes.html) [![Documentation: python-path-specification.readthedocs.io](https://img.shields.io/badge/Documentation-python--path--specification.readthedocs.io-4051b5)](https://python-path-specification.readthedocs.io/en/latest/index.html) [![Issue Tracker: github.com](https://img.shields.io/badge/Issue%20Tracker-github.com-4051b5)](https://github.com/cpburnz/python-pathspec/issues) [![Source Code: github.com](https://img.shields.io/badge/Source%20Code-github.com-4051b5)](https://github.com/cpburnz/python-pathspec) |
| **<font size='3'>[pyyaml_env_tag](https://github.com/waylan/pyyaml-env-tag)</font>**<br> | *A custom YAML tag for referencing environment variables in YAML files.*<br>[![Homepage: github.com](https://img.shields.io/badge/Homepage-github.com-4051b5)](https://github.com/waylan/pyyaml-env-tag) [![Repository: github.com](https://img.shields.io/badge/Repository-github.com-4051b5)](https://github.com/waylan/pyyaml-env-tag) [![Bug Tracker: github.com](https://img.shields.io/badge/Bug%20Tracker-github.com-4051b5)](https://github.com/waylan/pyyaml-env-tag/issues) |
| **<font size='3'>[PyYAML](https://pyyaml.org/)</font>**<br> | *YAML parser and emitter for Python*<br>[![Bug Tracker: github.com](https://img.shields.io/badge/Bug%20Tracker-github.com-4051b5)](https://github.com/yaml/pyyaml/issues) [![CI: github.com](https://img.shields.io/badge/CI-github.com-4051b5)](https://github.com/yaml/pyyaml/actions) [![Documentation: pyyaml.org](https://img.shields.io/badge/Documentation-pyyaml.org-4051b5)](https://pyyaml.org/wiki/PyYAMLDocumentation) [![Mailing lists: lists.sourceforge.net](https://img.shields.io/badge/Mailing%20lists-lists.sourceforge.net-4051b5)](http://lists.sourceforge.net/lists/listinfo/yaml-core) [![Source Code: github.com](https://img.shields.io/badge/Source%20Code-github.com-4051b5)](https://github.com/yaml/pyyaml) [![home_page: pyyaml.org](https://img.shields.io/badge/home__page-pyyaml.org-4051b5)](https://pyyaml.org/) |
| **<font size='3'>[watchdog](https://github.com/gorakhargosh/watchdog)</font>**<br> | *Filesystem events monitoring*<br>[![Documentation: python-watchdog.readthedocs.io](https://img.shields.io/badge/Documentation-python--watchdog.readthedocs.io-4051b5)](https://python-watchdog.readthedocs.io/en/stable/) [![Source: github.com](https://img.shields.io/badge/Source-github.com-4051b5)](https://github.com/gorakhargosh/watchdog/) [![Issues: github.com](https://img.shields.io/badge/Issues-github.com-4051b5)](https://github.com/gorakhargosh/watchdog/issues) [![Changelog: github.com](https://img.shields.io/badge/Changelog-github.com-4051b5)](https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst) [![home_page: github.com](https://img.shields.io/badge/home__page-github.com-4051b5)](https://github.com/gorakhargosh/watchdog) |
| **<font size='3'>[babel](https://babel.pocoo.org/)</font>**<br>`extra == "i18n"` | *Internationalization utilities*<br>[![Homepage: babel.pocoo.org](https://img.shields.io/badge/Homepage-babel.pocoo.org-4051b5)](https://babel.pocoo.org/) [![Source: github.com](https://img.shields.io/badge/Source-github.com-4051b5)](https://github.com/python-babel/babel) |

Html
<table>
<thead>
<tr>
<th>Name</th>
<th>Summary</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong><font size='3'><a href="https://click.palletsprojects.com/">click</a></font></strong><br></td>
<td><em>Composable command line interface toolkit</em><br><a href="https://click.palletsprojects.com/page/changes/"><img src="https://img.shields.io/badge/Changes-click.palletsprojects.com-4051b5" alt="Changes: click.palletsprojects.com" /></a> <a href="https://discord.gg/pallets"><img src="https://img.shields.io/badge/Chat-discord.gg-4051b5" alt="Chat: discord.gg" /></a> <a href="https://click.palletsprojects.com/"><img src="https://img.shields.io/badge/Documentation-click.palletsprojects.com-4051b5" alt="Documentation: click.palletsprojects.com" /></a> <a href="https://palletsprojects.com/donate"><img src="https://img.shields.io/badge/Donate-palletsprojects.com-4051b5" alt="Donate: palletsprojects.com" /></a> <a href="https://github.com/pallets/click/"><img src="https://img.shields.io/badge/Source-github.com-4051b5" alt="Source: github.com" /></a></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/tartley/colorama">colorama</a></font></strong><br><code>platform_system == &quot;Windows&quot;</code></td>
<td><em>Cross-platform colored terminal text.</em><br><a href="https://github.com/tartley/colorama"><img src="https://img.shields.io/badge/Homepage-github.com-4051b5" alt="Homepage: github.com" /></a></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/c-w/ghp-import">ghp-import</a></font></strong><br></td>
<td><em>Copy your docs directly to the gh-pages branch.</em><br><a href="https://github.com/c-w/ghp-import"><img src="https://img.shields.io/badge/home__page-github.com-4051b5" alt="home_page: github.com" /></a></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://jinja.palletsprojects.com/">Jinja2</a></font></strong><br></td>
<td><em>A very fast and expressive template engine.</em><br><a href="https://jinja.palletsprojects.com/changes/"><img src="https://img.shields.io/badge/Changes-jinja.palletsprojects.com-4051b5" alt="Changes: jinja.palletsprojects.com" /></a> <a href="https://discord.gg/pallets"><img src="https://img.shields.io/badge/Chat-discord.gg-4051b5" alt="Chat: discord.gg" /></a> <a href="https://jinja.palletsprojects.com/"><img src="https://img.shields.io/badge/Documentation-jinja.palletsprojects.com-4051b5" alt="Documentation: jinja.palletsprojects.com" /></a> <a href="https://palletsprojects.com/donate"><img src="https://img.shields.io/badge/Donate-palletsprojects.com-4051b5" alt="Donate: palletsprojects.com" /></a> <a href="https://github.com/pallets/jinja/"><img src="https://img.shields.io/badge/Source-github.com-4051b5" alt="Source: github.com" /></a></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://Python-Markdown.github.io/">Markdown</a></font></strong><br></td>
<td><em>Python implementation of John Gruber's Markdown.</em><br><a href="https://Python-Markdown.github.io/"><img src="https://img.shields.io/badge/Homepage-Python--Markdown.github.io-4051b5" alt="Homepage: Python-Markdown.github.io" /></a> <a href="https://Python-Markdown.github.io/"><img src="https://img.shields.io/badge/Documentation-Python--Markdown.github.io-4051b5" alt="Documentation: Python-Markdown.github.io" /></a> <a href="https://github.com/Python-Markdown/markdown"><img src="https://img.shields.io/badge/Repository-github.com-4051b5" alt="Repository: github.com" /></a> <a href="https://github.com/Python-Markdown/markdown/issues"><img src="https://img.shields.io/badge/Issue%20Tracker-github.com-4051b5" alt="Issue Tracker: github.com" /></a> <a href="https://python-markdown.github.io/changelog/"><img src="https://img.shields.io/badge/Changelog-python--markdown.github.io-4051b5" alt="Changelog: python-markdown.github.io" /></a></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://markupsafe.palletsprojects.com/">MarkupSafe</a></font></strong><br></td>
<td><em>Safely add untrusted strings to HTML/XML markup.</em><br><a href="https://palletsprojects.com/donate"><img src="https://img.shields.io/badge/Donate-palletsprojects.com-4051b5" alt="Donate: palletsprojects.com" /></a> <a href="https://markupsafe.palletsprojects.com/"><img src="https://img.shields.io/badge/Documentation-markupsafe.palletsprojects.com-4051b5" alt="Documentation: markupsafe.palletsprojects.com" /></a> <a href="https://markupsafe.palletsprojects.com/page/changes/"><img src="https://img.shields.io/badge/Changes-markupsafe.palletsprojects.com-4051b5" alt="Changes: markupsafe.palletsprojects.com" /></a> <a href="https://github.com/pallets/markupsafe/"><img src="https://img.shields.io/badge/Source-github.com-4051b5" alt="Source: github.com" /></a> <a href="https://discord.gg/pallets"><img src="https://img.shields.io/badge/Chat-discord.gg-4051b5" alt="Chat: discord.gg" /></a></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/clarketm/mergedeep">mergedeep</a></font></strong><br></td>
<td><em>A deep merge function for 🐍.</em><br><a href="https://github.com/clarketm/mergedeep"><img src="https://img.shields.io/badge/home__page-github.com-4051b5" alt="home_page: github.com" /></a></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/mkdocs/get-deps">mkdocs-get-deps</a></font></strong><br></td>
<td><em>An extra command for MkDocs that infers required PyPI packages from <code>plugins</code> in mkdocs.yml</em><br><a href="https://github.com/mkdocs/get-deps"><img src="https://img.shields.io/badge/Source-github.com-4051b5" alt="Source: github.com" /></a> <a href="https://github.com/mkdocs/get-deps/issues"><img src="https://img.shields.io/badge/Issues-github.com-4051b5" alt="Issues: github.com" /></a> <a href="https://github.com/mkdocs/get-deps/releases"><img src="https://img.shields.io/badge/History-github.com-4051b5" alt="History: github.com" /></a></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://packaging.pypa.io/">packaging</a></font></strong><br></td>
<td><em>Core utilities for Python packages</em><br><a href="https://packaging.pypa.io/"><img src="https://img.shields.io/badge/Documentation-packaging.pypa.io-4051b5" alt="Documentation: packaging.pypa.io" /></a> <a href="https://github.com/pypa/packaging"><img src="https://img.shields.io/badge/Source-github.com-4051b5" alt="Source: github.com" /></a></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://python-path-specification.readthedocs.io/en/latest/index.html">pathspec</a></font></strong><br></td>
<td><em>Utility library for gitignore style pattern matching of file paths.</em><br><a href="https://python-path-specification.readthedocs.io/en/latest/changes.html"><img src="https://img.shields.io/badge/Change%20Log-python--path--specification.readthedocs.io-4051b5" alt="Change Log: python-path-specification.readthedocs.io" /></a> <a href="https://python-path-specification.readthedocs.io/en/latest/index.html"><img src="https://img.shields.io/badge/Documentation-python--path--specification.readthedocs.io-4051b5" alt="Documentation: python-path-specification.readthedocs.io" /></a> <a href="https://github.com/cpburnz/python-pathspec/issues"><img src="https://img.shields.io/badge/Issue%20Tracker-github.com-4051b5" alt="Issue Tracker: github.com" /></a> <a href="https://github.com/cpburnz/python-pathspec"><img src="https://img.shields.io/badge/Source%20Code-github.com-4051b5" alt="Source Code: github.com" /></a></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/waylan/pyyaml-env-tag">pyyaml_env_tag</a></font></strong><br></td>
<td><em>A custom YAML tag for referencing environment variables in YAML files.</em><br><a href="https://github.com/waylan/pyyaml-env-tag"><img src="https://img.shields.io/badge/Homepage-github.com-4051b5" alt="Homepage: github.com" /></a> <a href="https://github.com/waylan/pyyaml-env-tag"><img src="https://img.shields.io/badge/Repository-github.com-4051b5" alt="Repository: github.com" /></a> <a href="https://github.com/waylan/pyyaml-env-tag/issues"><img src="https://img.shields.io/badge/Bug%20Tracker-github.com-4051b5" alt="Bug Tracker: github.com" /></a></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://pyyaml.org/">PyYAML</a></font></strong><br></td>
<td><em>YAML parser and emitter for Python</em><br><a href="https://github.com/yaml/pyyaml/issues"><img src="https://img.shields.io/badge/Bug%20Tracker-github.com-4051b5" alt="Bug Tracker: github.com" /></a> <a href="https://github.com/yaml/pyyaml/actions"><img src="https://img.shields.io/badge/CI-github.com-4051b5" alt="CI: github.com" /></a> <a href="https://pyyaml.org/wiki/PyYAMLDocumentation"><img src="https://img.shields.io/badge/Documentation-pyyaml.org-4051b5" alt="Documentation: pyyaml.org" /></a> <a href="http://lists.sourceforge.net/lists/listinfo/yaml-core"><img src="https://img.shields.io/badge/Mailing%20lists-lists.sourceforge.net-4051b5" alt="Mailing lists: lists.sourceforge.net" /></a> <a href="https://github.com/yaml/pyyaml"><img src="https://img.shields.io/badge/Source%20Code-github.com-4051b5" alt="Source Code: github.com" /></a> <a href="https://pyyaml.org/"><img src="https://img.shields.io/badge/home__page-pyyaml.org-4051b5" alt="home_page: pyyaml.org" /></a></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://github.com/gorakhargosh/watchdog">watchdog</a></font></strong><br></td>
<td><em>Filesystem events monitoring</em><br><a href="https://python-watchdog.readthedocs.io/en/stable/"><img src="https://img.shields.io/badge/Documentation-python--watchdog.readthedocs.io-4051b5" alt="Documentation: python-watchdog.readthedocs.io" /></a> <a href="https://github.com/gorakhargosh/watchdog/"><img src="https://img.shields.io/badge/Source-github.com-4051b5" alt="Source: github.com" /></a> <a href="https://github.com/gorakhargosh/watchdog/issues"><img src="https://img.shields.io/badge/Issues-github.com-4051b5" alt="Issues: github.com" /></a> <a href="https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst"><img src="https://img.shields.io/badge/Changelog-github.com-4051b5" alt="Changelog: github.com" /></a> <a href="https://github.com/gorakhargosh/watchdog"><img src="https://img.shields.io/badge/home__page-github.com-4051b5" alt="home_page: github.com" /></a></td>
</tr>
<tr>
<td><strong><font size='3'><a href="https://babel.pocoo.org/">babel</a></font></strong><br><code>extra == &quot;i18n&quot;</code></td>
<td><em>Internationalization utilities</em><br><a href="https://babel.pocoo.org/"><img src="https://img.shields.io/badge/Homepage-babel.pocoo.org-4051b5" alt="Homepage: babel.pocoo.org" /></a> <a href="https://github.com/python-babel/babel"><img src="https://img.shields.io/badge/Source-github.com-4051b5" alt="Source: github.com" /></a></td>
</tr>
</tbody>
</table>

Repr tree
MkDependencyTable
β”œβ”€β”€ MkLink('https://click.palletsprojects.com/', 'click')
β”œβ”€β”€ MkMetadataBadges('websites', package='click', block_separator=' ')
β”‚   β”œβ”€β”€ MkBadge('Changes', 'click.palletsprojects.com')
β”‚   β”œβ”€β”€ MkBadge('Chat', 'discord.gg')
β”‚   β”œβ”€β”€ MkBadge('Documentation', 'click.palletsprojects.com')
β”‚   β”œβ”€β”€ MkBadge('Donate', 'palletsprojects.com')
β”‚   ╰── MkBadge('Source', 'github.com')
β”œβ”€β”€ MkLink('https://github.com/tartley/colorama', 'colorama')
β”œβ”€β”€ MkMetadataBadges('websites', package='colorama', block_separator=' ')
β”‚   ╰── MkBadge('Homepage', 'github.com')
β”œβ”€β”€ MkLink('https://github.com/c-w/ghp-import', 'ghp-import')
β”œβ”€β”€ MkMetadataBadges('websites', package='ghp-import', block_separator=' ')
β”‚   ╰── MkBadge('home_page', 'github.com')
β”œβ”€β”€ MkLink('https://jinja.palletsprojects.com/', 'Jinja2')
β”œβ”€β”€ MkMetadataBadges('websites', package='Jinja2', block_separator=' ')
β”‚   β”œβ”€β”€ MkBadge('Changes', 'jinja.palletsprojects.com')
β”‚   β”œβ”€β”€ MkBadge('Chat', 'discord.gg')
β”‚   β”œβ”€β”€ MkBadge('Documentation', 'jinja.palletsprojects.com')
β”‚   β”œβ”€β”€ MkBadge('Donate', 'palletsprojects.com')
β”‚   ╰── MkBadge('Source', 'github.com')
β”œβ”€β”€ MkLink('https://Python-Markdown.github.io/', 'Markdown')
β”œβ”€β”€ MkMetadataBadges('websites', package='Markdown', block_separator=' ')
β”‚   β”œβ”€β”€ MkBadge('Homepage', 'Python-Markdown.github.io')
β”‚   β”œβ”€β”€ MkBadge('Documentation', 'Python-Markdown.github.io')
β”‚   β”œβ”€β”€ MkBadge('Repository', 'github.com')
β”‚   β”œβ”€β”€ MkBadge('Issue Tracker', 'github.com')
β”‚   ╰── MkBadge('Changelog', 'python-markdown.github.io')
β”œβ”€β”€ MkLink('https://markupsafe.palletsprojects.com/', 'MarkupSafe')
β”œβ”€β”€ MkMetadataBadges('websites', package='MarkupSafe', block_separator=' ')
β”‚   β”œβ”€β”€ MkBadge('Donate', 'palletsprojects.com')
β”‚   β”œβ”€β”€ MkBadge('Documentation', 'markupsafe.palletsprojects.com')
β”‚   β”œβ”€β”€ MkBadge('Changes', 'markupsafe.palletsprojects.com')
β”‚   β”œβ”€β”€ MkBadge('Source', 'github.com')
β”‚   ╰── MkBadge('Chat', 'discord.gg')
β”œβ”€β”€ MkLink('https://github.com/clarketm/mergedeep', 'mergedeep')
β”œβ”€β”€ MkMetadataBadges('websites', package='mergedeep', block_separator=' ')
β”‚   ╰── MkBadge('home_page', 'github.com')
β”œβ”€β”€ MkLink('https://github.com/mkdocs/get-deps', 'mkdocs-get-deps')
β”œβ”€β”€ MkMetadataBadges('websites', package='mkdocs-get-deps', block_separator=' ')
β”‚   β”œβ”€β”€ MkBadge('Source', 'github.com')
β”‚   β”œβ”€β”€ MkBadge('Issues', 'github.com')
β”‚   ╰── MkBadge('History', 'github.com')
β”œβ”€β”€ MkLink('https://packaging.pypa.io/', 'packaging')
β”œβ”€β”€ MkMetadataBadges('websites', package='packaging', block_separator=' ')
β”‚   β”œβ”€β”€ MkBadge('Documentation', 'packaging.pypa.io')
β”‚   ╰── MkBadge('Source', 'github.com')
β”œβ”€β”€ MkLink('https://python-path-specification.readthedocs.io/en/latest/index.html', 'pathspec')
β”œβ”€β”€ MkMetadataBadges('websites', package='pathspec', block_separator=' ')
β”‚   β”œβ”€β”€ MkBadge('Change Log', 'python-path-specification.readthedocs.io')
β”‚   β”œβ”€β”€ MkBadge('Documentation', 'python-path-specification.readthedocs.io')
β”‚   β”œβ”€β”€ MkBadge('Issue Tracker', 'github.com')
β”‚   ╰── MkBadge('Source Code', 'github.com')
β”œβ”€β”€ MkLink('https://github.com/waylan/pyyaml-env-tag', 'pyyaml_env_tag')
β”œβ”€β”€ MkMetadataBadges('websites', package='pyyaml_env_tag', block_separator=' ')
β”‚   β”œβ”€β”€ MkBadge('Homepage', 'github.com')
β”‚   β”œβ”€β”€ MkBadge('Repository', 'github.com')
β”‚   ╰── MkBadge('Bug Tracker', 'github.com')
β”œβ”€β”€ MkLink('https://pyyaml.org/', 'PyYAML')
β”œβ”€β”€ MkMetadataBadges('websites', package='PyYAML', block_separator=' ')
β”‚   β”œβ”€β”€ MkBadge('Bug Tracker', 'github.com')
β”‚   β”œβ”€β”€ MkBadge('CI', 'github.com')
β”‚   β”œβ”€β”€ MkBadge('Documentation', 'pyyaml.org')
β”‚   β”œβ”€β”€ MkBadge('Mailing lists', 'lists.sourceforge.net')
β”‚   β”œβ”€β”€ MkBadge('Source Code', 'github.com')
β”‚   ╰── MkBadge('home_page', 'pyyaml.org')
β”œβ”€β”€ MkLink('https://github.com/gorakhargosh/watchdog', 'watchdog')
β”œβ”€β”€ MkMetadataBadges('websites', package='watchdog', block_separator=' ')
β”‚   β”œβ”€β”€ MkBadge('Documentation', 'python-watchdog.readthedocs.io')
β”‚   β”œβ”€β”€ MkBadge('Source', 'github.com')
β”‚   β”œβ”€β”€ MkBadge('Issues', 'github.com')
β”‚   β”œβ”€β”€ MkBadge('Changelog', 'github.com')
β”‚   ╰── MkBadge('home_page', 'github.com')
β”œβ”€β”€ MkLink('https://babel.pocoo.org/', 'babel')
╰── MkMetadataBadges('websites', package='babel', block_separator=' ')
    β”œβ”€β”€ MkBadge('Homepage', 'babel.pocoo.org')
    ╰── MkBadge('Source', 'github.com')
DocStrings

class MkDependencyTable(mktemplatetable.MkTemplateTable)
Base classes
NameChildrenInherits
MkTemplateTable
mknodes.templatenodes.mktemplatetable
Node for a table showing dependencies for a package.
β‹” Inheritance diagram
graph TD
  753441108["mkdependencytable.MkDependencyTable"]
  1225063181["mktemplatetable.MkTemplateTable"]
  1359323199["mknode.MkNode"]
  2751680898["builtins.object"]
  1225063181 --> 753441108
  1359323199 --> 1225063181
  2751680898 --> 1359323199
NodeFile

/home/runner/work/mknodes/mknodes/src/mknodes/templatenodes/mkdependencytable/metadata.toml

[metadata]
icon = "mdi:database"
name = "MkDependencyTable"

[requirements.extension.tables]

[examples.from_project]
title = "From Project"
jinja = """
{{ mk.MkDependencyTable() }}
"""

[examples.explicit_package]
title = "Explicit package"
jinja = """
{{ "jinja2" | MkDependencyTable }}
"""

[examples.badge_style]
title = "Badge style"
jinja = """
{{ "mkdocs" | MkDependencyTable(layout="badge") }}
"""

[layouts.default]
Name = """
{% if package_info.homepage %}
{{ package_info.homepage | MkLink(package_info.name) | string | md_style(size=3, bold=True) }}{% else %}
{{ package_info.name | md_style(size=3, bold=True, code=True) }}{% endif %}
"""
Summary = """
{{ package_info.summary | md_style(italic=True) }}
"""
Marker = """
{{ (dep_info.marker or "") | string | re_replace('([A-Za-z_]* [>|=|<]* ".*?")', "`\\\\g<1>`") }}
"""

[layouts.badge]
Name = """
{% if package_info.homepage %}
{{ package_info.homepage | MkLink(package_info.name) | string | md_style(size=3, bold=True) }}{% else %}
{{ package_info.name | md_style(size=3, bold=True, code=True) }}{% endif %}<br>{{ (dep_info.marker or "") | string | re_replace('([A-Za-z_]* [>|=|<]* ".*?")', "`\\\\g<1>`") }}
"""

Summary = """
{{ package_info.summary | md_style(italic=True) }}<br>{{ "websites" | MkMetadataBadges(package=package_info.name, block_separator=" ") }}
"""

Code

mknodes.templatenodes.mkdependencytable.MkDependencyTable

class MkDependencyTable(mktemplatetable.MkTemplateTable):
    """Node for a table showing dependencies for a package."""

    ICON = "material/database"
    STATUS = "new"

    def __init__(
        self,
        package: str | packageinfo.PackageInfo | None = None,
        *,
        layout: PackageLayoutStr = "default",
        **kwargs: Any,
    ) -> None:
        self.package = package
        super().__init__(layout=layout, **kwargs)

    @property
    def required_packages(self) -> dict[packageinfo.PackageInfo, Dependency] | None:
        match self.package:
            case None:
                return self.ctx.metadata.required_packages
            case str():
                return packageregistry.get_info(self.package).required_packages
            case packageinfo.PackageInfo():
                return self.package.required_packages
            case _:
                return None

    def iter_items(self):
        if not self.required_packages:
            return
        yield from [
            dict(package_info=package_info, dep_info=dep_info)
            for (package_info, dep_info) in self.required_packages.items()
        ]

Page info
Code for this page

mknodes.manual.nodes_section.create_section_for_nodes

def create_section_for_nodes(
    nav: mk.MkNav,
    klasses: Sequence[type[mk.MkNode]],
) -> mk.MkTable:
    table = mk.MkTable(columns=["Node", "Docstrings", "Markdown extensions"])
    for kls in klasses:
        tpl = "classpage_custom.jinja"
        page = mk.MkClassPage(kls, icon=kls.ICON, template_path=tpl, parent=nav, hide="toc")
        nav += page
        if kls.STATUS:
            page.metadata.status = kls.STATUS
        elif kls.JS_FILES:
            page.metadata.status = "js"
        elif kls.CSS:
            page.metadata.status = "css"
        page.created_by = create_section_for_nodes
        link = mk.MkLink(page, kls.__name__, icon=kls.ICON)
        extensions = ", ".join(f"`{i}`" for i in kls.REQUIRED_EXTENSIONS)
        table.add_row((link, kls.__doc__, extensions))
    return table

Resources
Resources(css=[],
          markdown_extensions={'admonition': {},
                               'pymdownx.details': {},
                               'pymdownx.highlight': {'anchor_linenums': True,
                                                      'line_spans': '__span',
                                                      'pygments_lang_class': True},
                               'pymdownx.superfences': {'custom_fences': [{'class': 'mermaid',
                                                                           'format': <function fence_code_format at 0x7d707a397060>,
                                                                           'name': 'mermaid'}]},
                               'pymdownx.tabbed': {},
                               'tables': {}},
          plugins=[Plugin('mkdocstrings')],
          js=[],
          assets=[],
          packages=[])
Metadata
created:
  source_filename: /home/runner/work/mknodes/mknodes/src/mknodes/manual/nodes_section.py
  source_function: create_section_for_nodes
  source_line_no: 93
hide:
- toc
icon: material/database
status: new
title: MkDependencyTable